package com.haizhi.crm.sys.shiro.model;

import com.haizhi.crm.sys.auth.model.UserDo;
import lombok.Data;

import java.io.Serializable;

/**
 * Created by yangyijun on 18/7/3.
 */
@Data
public class UserVo implements Serializable {
    private static final long serialVersionUID = 2L;
    protected Long id;
    protected String userNo;
    protected String name;
    protected String password;
    protected String updateTime;

    public UserVo(UserDo user) {
        this.id = user.getId();
        this.name = user.getName();
        this.userNo = user.getUserNo();
    }
}
